home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
bratz-estilista.swf
/
scripts
/
DefineButton2_881
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2008-03-17
|
691b
|
25 lines
on(release){
var pj = new PrintJob();
pj.start();
if(pj.orientation == "portrait")
{
EndPrint._rotation = 90;
EndPrint._xscale = 130;
EndPrint._yscale = EndPrint._xscale;
pj.addPage(EndPrint,{xMin:-60,xMax:800,yMin:0,yMax:420});
EndPrint._xscale = 100;
EndPrint._yscale = EndPrint._xscale;
EndPrint._rotation = 0;
}
else if(pj.orientation == "landscape")
{
EndPrint._xscale = 130;
EndPrint._yscale = EndPrint._xscale;
pj.addPage(EndPrint,{xMin:-60,xMax:800,yMin:-25,yMax:420});
EndPrint._xscale = 100;
EndPrint._yscale = EndPrint._xscale;
}
pj.send();
delete pj;
}